package com.totoro.motan.config;

import com.weibo.api.motan.config.springsupport.BasicRefererConfigBean;
import com.weibo.api.motan.config.springsupport.annotation.MotanReferer;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MotanClientConfig {
    @Bean
    @ConfigurationProperties(prefix = "motan.referer")
    public BasicRefererConfigBean basicRefererConfigBean(){
        BasicRefererConfigBean basicRefererConfigBean = new BasicRefererConfigBean();
        return basicRefererConfigBean;
    }
}
